import java.rmi.Naming;

public class RMIserver 
{
	/**
	   * Server program for the "Hello, hell" example.
	   * @param argv The command line arguments which are ignored.
	   */
	  public static void main (String[] argv) 
	  {
	    try 
	    {
	      Naming.rebind ("Hello", new Hello ("Hello, hell"));
	      System.out.println ("Hello Server is ready.");
	    }
	    catch (Exception e)
	    {
	      System.out.println ("Hello Server failed: " + e);
	    }
	  }
}
